<template>
  <div class="user">
    <PageHeader 
      :formConfig='formConfig'
      @selectClick="handleSelectClick"
      @resetClick="handleResetClick"/>

    <PageContent  
      :tableConfig="tableConfig"
      tableName="register" 
      ref="pageContentRef" 
      />

  </div>
</template>

<script setup lang="ts">
import PageHeader from '@/components/page-header/PageHeader.vue';
import PageContent from '@/components/page-content/PageContent.vue';


import { formConfig } from './config//form-config'
import { tableConfig } from './config/table-config'



import useSearch from '@/hooks/useSearch';


const [handleSelectClick,handleResetClick,pageContentRef] = useSearch()



</script>

<style scoped>

</style>